<%@ page contentType="text/html;charset=UTF-8" isELIgnored="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/displaytag-el.tld" prefix="display" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/qautil.tld" prefix="qautil"%>
<span class="title2">资料搜索&nbsp;</span>
<display:table name="sfs" class="qlist" id="sf" cellspacing="0" cellpadding="0">
        <display:column title="分类">
            <c:set var="sfc_id" value="${sf.mrIaskSharedFileCategory.id}"/>
            <html:link page="/sf.mrqa?action=list" paramId="catId" paramName="sfc_id">
                        [<c:out value="${sf.mrIaskSharedFileCategory.name}"/>]
            </html:link>
        </display:column>
    <display:column title="资料名称">
        <html:link page="/sf.mrqa?action=view" paramId="id" paramProperty="id" paramName="sf" title="点击下载">
            <c:out value="${sf.name}"/>
        </html:link>
    </display:column>
    <display:column title="访问" style="width:45;">
            <c:out value="${sf.viewCount}"/>
    </display:column>
    <display:column title="下载" style="width:45;">
            <c:out value="${sf.downloadCount}"/>
    </display:column>
    <display:column property="postDate" title="上传时间" format="{0,date,yyyy-MM-dd HH:mm}" style="width:100;"/>
    <display:column title="上传者" style="width:70;">
        <c:set var="user_id" value="${sf.mrIaskUser.id}"/>
        <c:set var="user_loginname" value="${sf.mrIaskUser.loginName}"/>
        <html:link page="/user.mrqa?action=viewuserbyother" styleId="author" paramId="id" paramName="user_id">
                    <c:out value="${user_loginname}"/>
        </html:link>
    </display:column>
</display:table>
<br>
<qautil:page action="/sf.mrqa"/>
<c:if test="${filesSize < filesSizePerPage}">
<br>
<br>
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-3370373040606812";
/* MR_Iask_List 468x60, by William 08-8-30 */
google_ad_slot = "8374166115";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</c:if>